
cc.Class({
    extends: cc.Component,

    properties: {
        
    },

    start () {
    },
    
    btn_layout_0(){
        this.node.getChildByName('ruleNode').getComponent('prefab-ex').setTemplate("ruleA")
    },
    
    btn_layout_1(){
        this.node.getChildByName('ruleNode').getComponent('prefab-ex').setTemplate("ruleB")
    },
    
});
